package com.ys.entity.amazonorder;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_amazonorder].[dbo].TP_AmazonShopOrderOrigin", catalog="Id")
public class TpAmazonShopOrderOrigin extends BaseEntity<TpAmazonShopOrderOrigin> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="SellerId", nameJava="sellerId", typeDataBase="varchar")
	private String sellerId;
	@YsField(nameDataBase="AmazonOrderId", nameJava="amazonOrderId", typeDataBase="varchar")
	private String amazonOrderId;
	@YsField(nameDataBase="MerchantOrderId", nameJava="merchantOrderId", typeDataBase="varchar")
	private String merchantOrderId;
	@YsField(nameDataBase="PurchaseDate", nameJava="purchaseDate", typeDataBase="varchar")
	private String purchaseDate;
	@YsField(nameDataBase="LastUpdateDate", nameJava="lastUpdateDate", typeDataBase="varchar")
	private String lastUpdateDate;
	@YsField(nameDataBase="OrderStatus", nameJava="orderStatus", typeDataBase="varchar")
	private String orderStatus;
	@YsField(nameDataBase="FulfillmentChannel", nameJava="fulfillmentChannel", typeDataBase="varchar")
	private String fulfillmentChannel;
	@YsField(nameDataBase="SalesChannel", nameJava="salesChannel", typeDataBase="varchar")
	private String salesChannel;
	@YsField(nameDataBase="OrderChannel", nameJava="orderChannel", typeDataBase="varchar")
	private String orderChannel;
	@YsField(nameDataBase="ShipServiceLevel", nameJava="shipServiceLevel", typeDataBase="varchar")
	private String shipServiceLevel;
	@YsField(nameDataBase="ProductName", nameJava="productName", typeDataBase="varchar")
	private String productName;
	@YsField(nameDataBase="Sku", nameJava="sku", typeDataBase="varchar")
	private String sku;
	@YsField(nameDataBase="Asin", nameJava="asin", typeDataBase="varchar")
	private String asin;
	@YsField(nameDataBase="ItemStatus", nameJava="itemStatus", typeDataBase="varchar")
	private String itemStatus;
	@YsField(nameDataBase="Quantity", nameJava="quantity", typeDataBase="int")
	private Integer quantity;
	@YsField(nameDataBase="Currency", nameJava="currency", typeDataBase="varchar")
	private String currency;
	@YsField(nameDataBase="ItemPrice", nameJava="itemPrice", typeDataBase="decimal")
	private BigDecimal itemPrice;
	@YsField(nameDataBase="ItemTax", nameJava="itemTax", typeDataBase="decimal")
	private BigDecimal itemTax;
	@YsField(nameDataBase="ShippingPrice", nameJava="shippingPrice", typeDataBase="decimal")
	private BigDecimal shippingPrice;
	@YsField(nameDataBase="ShippingTax", nameJava="shippingTax", typeDataBase="decimal")
	private BigDecimal shippingTax;
	@YsField(nameDataBase="GiftWrapPrice", nameJava="giftWrapPrice", typeDataBase="decimal")
	private BigDecimal giftWrapPrice;
	@YsField(nameDataBase="ItemPromotionDiscount", nameJava="itemPromotionDiscount", typeDataBase="varchar")
	private String itemPromotionDiscount;
	@YsField(nameDataBase="ShipPromotionDiscount", nameJava="shipPromotionDiscount", typeDataBase="varchar")
	private String shipPromotionDiscount;
	@YsField(nameDataBase="ShipCity", nameJava="shipCity", typeDataBase="varchar")
	private String shipCity;
	@YsField(nameDataBase="ShipState", nameJava="shipState", typeDataBase="varchar")
	private String shipState;
	@YsField(nameDataBase="ShipPostalCode", nameJava="shipPostalCode", typeDataBase="varchar")
	private String shipPostalCode;
	@YsField(nameDataBase="ShipCountry", nameJava="shipCountry", typeDataBase="varchar")
	private String shipCountry;
	@YsField(nameDataBase="PromotionIds", nameJava="promotionIds", typeDataBase="varchar")
	private String promotionIds;
	@YsField(nameDataBase="IsBusinessOrder", nameJava="isBusinessOrder", typeDataBase="varchar")
	private String isBusinessOrder;
	@YsField(nameDataBase="PurchaseOrderNumber", nameJava="purchaseOrderNumber", typeDataBase="varchar")
	private String purchaseOrderNumber;
	@YsField(nameDataBase="PriceDesignation", nameJava="priceDesignation", typeDataBase="varchar")
	private String priceDesignation;
	@YsField(nameDataBase="SignatureConfirmationRecommended", nameJava="signatureConfirmationRecommended", typeDataBase="varchar")
	private String signatureConfirmationRecommended;
	@YsField(nameDataBase="IsIba", nameJava="isIba", typeDataBase="varchar")
	private String isIba;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShopOrderOrigin setId(Long id) {
		this.id = id;
		return this;
	}
	public String getSellerId() {
		return sellerId;
	}
	public TpAmazonShopOrderOrigin setSellerId(String sellerId) {
		this.sellerId = sellerId;
		return this;
	}
	public String getAmazonOrderId() {
		return amazonOrderId;
	}
	public TpAmazonShopOrderOrigin setAmazonOrderId(String amazonOrderId) {
		this.amazonOrderId = amazonOrderId;
		return this;
	}
	public String getMerchantOrderId() {
		return merchantOrderId;
	}
	public TpAmazonShopOrderOrigin setMerchantOrderId(String merchantOrderId) {
		this.merchantOrderId = merchantOrderId;
		return this;
	}
	public String getPurchaseDate() {
		return purchaseDate;
	}
	public TpAmazonShopOrderOrigin setPurchaseDate(String purchaseDate) {
		this.purchaseDate = purchaseDate;
		return this;
	}
	public String getLastUpdateDate() {
		return lastUpdateDate;
	}
	public TpAmazonShopOrderOrigin setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
		return this;
	}
	public String getOrderStatus() {
		return orderStatus;
	}
	public TpAmazonShopOrderOrigin setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
		return this;
	}
	public String getFulfillmentChannel() {
		return fulfillmentChannel;
	}
	public TpAmazonShopOrderOrigin setFulfillmentChannel(String fulfillmentChannel) {
		this.fulfillmentChannel = fulfillmentChannel;
		return this;
	}
	public String getSalesChannel() {
		return salesChannel;
	}
	public TpAmazonShopOrderOrigin setSalesChannel(String salesChannel) {
		this.salesChannel = salesChannel;
		return this;
	}
	public String getOrderChannel() {
		return orderChannel;
	}
	public TpAmazonShopOrderOrigin setOrderChannel(String orderChannel) {
		this.orderChannel = orderChannel;
		return this;
	}
	public String getShipServiceLevel() {
		return shipServiceLevel;
	}
	public TpAmazonShopOrderOrigin setShipServiceLevel(String shipServiceLevel) {
		this.shipServiceLevel = shipServiceLevel;
		return this;
	}
	public String getProductName() {
		return productName;
	}
	public TpAmazonShopOrderOrigin setProductName(String productName) {
		this.productName = productName;
		return this;
	}
	public String getSku() {
		return sku;
	}
	public TpAmazonShopOrderOrigin setSku(String sku) {
		this.sku = sku;
		return this;
	}
	public String getAsin() {
		return asin;
	}
	public TpAmazonShopOrderOrigin setAsin(String asin) {
		this.asin = asin;
		return this;
	}
	public String getItemStatus() {
		return itemStatus;
	}
	public TpAmazonShopOrderOrigin setItemStatus(String itemStatus) {
		this.itemStatus = itemStatus;
		return this;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public TpAmazonShopOrderOrigin setQuantity(Integer quantity) {
		this.quantity = quantity;
		return this;
	}
	public String getCurrency() {
		return currency;
	}
	public TpAmazonShopOrderOrigin setCurrency(String currency) {
		this.currency = currency;
		return this;
	}
	public BigDecimal getItemPrice() {
		return itemPrice;
	}
	public TpAmazonShopOrderOrigin setItemPrice(BigDecimal itemPrice) {
		this.itemPrice = itemPrice;
		return this;
	}
	public BigDecimal getItemTax() {
		return itemTax;
	}
	public TpAmazonShopOrderOrigin setItemTax(BigDecimal itemTax) {
		this.itemTax = itemTax;
		return this;
	}
	public BigDecimal getShippingPrice() {
		return shippingPrice;
	}
	public TpAmazonShopOrderOrigin setShippingPrice(BigDecimal shippingPrice) {
		this.shippingPrice = shippingPrice;
		return this;
	}
	public BigDecimal getShippingTax() {
		return shippingTax;
	}
	public TpAmazonShopOrderOrigin setShippingTax(BigDecimal shippingTax) {
		this.shippingTax = shippingTax;
		return this;
	}
	public BigDecimal getGiftWrapPrice() {
		return giftWrapPrice;
	}
	public TpAmazonShopOrderOrigin setGiftWrapPrice(BigDecimal giftWrapPrice) {
		this.giftWrapPrice = giftWrapPrice;
		return this;
	}
	public String getItemPromotionDiscount() {
		return itemPromotionDiscount;
	}
	public TpAmazonShopOrderOrigin setItemPromotionDiscount(String itemPromotionDiscount) {
		this.itemPromotionDiscount = itemPromotionDiscount;
		return this;
	}
	public String getShipPromotionDiscount() {
		return shipPromotionDiscount;
	}
	public TpAmazonShopOrderOrigin setShipPromotionDiscount(String shipPromotionDiscount) {
		this.shipPromotionDiscount = shipPromotionDiscount;
		return this;
	}
	public String getShipCity() {
		return shipCity;
	}
	public TpAmazonShopOrderOrigin setShipCity(String shipCity) {
		this.shipCity = shipCity;
		return this;
	}
	public String getShipState() {
		return shipState;
	}
	public TpAmazonShopOrderOrigin setShipState(String shipState) {
		this.shipState = shipState;
		return this;
	}
	public String getShipPostalCode() {
		return shipPostalCode;
	}
	public TpAmazonShopOrderOrigin setShipPostalCode(String shipPostalCode) {
		this.shipPostalCode = shipPostalCode;
		return this;
	}
	public String getShipCountry() {
		return shipCountry;
	}
	public TpAmazonShopOrderOrigin setShipCountry(String shipCountry) {
		this.shipCountry = shipCountry;
		return this;
	}
	public String getPromotionIds() {
		return promotionIds;
	}
	public TpAmazonShopOrderOrigin setPromotionIds(String promotionIds) {
		this.promotionIds = promotionIds;
		return this;
	}
	public String getIsBusinessOrder() {
		return isBusinessOrder;
	}
	public TpAmazonShopOrderOrigin setIsBusinessOrder(String isBusinessOrder) {
		this.isBusinessOrder = isBusinessOrder;
		return this;
	}
	public String getPurchaseOrderNumber() {
		return purchaseOrderNumber;
	}
	public TpAmazonShopOrderOrigin setPurchaseOrderNumber(String purchaseOrderNumber) {
		this.purchaseOrderNumber = purchaseOrderNumber;
		return this;
	}
	public String getPriceDesignation() {
		return priceDesignation;
	}
	public TpAmazonShopOrderOrigin setPriceDesignation(String priceDesignation) {
		this.priceDesignation = priceDesignation;
		return this;
	}
	public String getSignatureConfirmationRecommended() {
		return signatureConfirmationRecommended;
	}
	public TpAmazonShopOrderOrigin setSignatureConfirmationRecommended(String signatureConfirmationRecommended) {
		this.signatureConfirmationRecommended = signatureConfirmationRecommended;
		return this;
	}
	public String getIsIba() {
		return isIba;
	}
	public TpAmazonShopOrderOrigin setIsIba(String isIba) {
		this.isIba = isIba;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShopOrderOrigin setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShopOrderOrigin setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShopOrderOrigin setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShopOrderOrigin tpAmazonShopOrderOrigin(
		String sellerId,
		String amazonOrderId,
		String merchantOrderId,
		String purchaseDate,
		String lastUpdateDate,
		String orderStatus,
		String fulfillmentChannel,
		String salesChannel,
		String orderChannel,
		String shipServiceLevel,
		String productName,
		String sku,
		String asin,
		String itemStatus,
		Integer quantity,
		String currency,
		BigDecimal itemPrice,
		BigDecimal itemTax,
		BigDecimal shippingPrice,
		BigDecimal shippingTax,
		BigDecimal giftWrapPrice,
		String itemPromotionDiscount,
		String shipPromotionDiscount,
		String shipCity,
		String shipState,
		String shipPostalCode,
		String shipCountry,
		String promotionIds,
		String isBusinessOrder,
		String purchaseOrderNumber,
		String priceDesignation,
		String signatureConfirmationRecommended,
		String isIba,
		Integer status
			) {
		TpAmazonShopOrderOrigin entity = new TpAmazonShopOrderOrigin();
		entity.setSellerId(sellerId);
		entity.setAmazonOrderId(amazonOrderId);
		entity.setMerchantOrderId(merchantOrderId);
		entity.setPurchaseDate(purchaseDate);
		entity.setLastUpdateDate(lastUpdateDate);
		entity.setOrderStatus(orderStatus);
		entity.setFulfillmentChannel(fulfillmentChannel);
		entity.setSalesChannel(salesChannel);
		entity.setOrderChannel(orderChannel);
		entity.setShipServiceLevel(shipServiceLevel);
		entity.setProductName(productName);
		entity.setSku(sku);
		entity.setAsin(asin);
		entity.setItemStatus(itemStatus);
		entity.setQuantity(quantity);
		entity.setCurrency(currency);
		entity.setItemPrice(itemPrice);
		entity.setItemTax(itemTax);
		entity.setShippingPrice(shippingPrice);
		entity.setShippingTax(shippingTax);
		entity.setGiftWrapPrice(giftWrapPrice);
		entity.setItemPromotionDiscount(itemPromotionDiscount);
		entity.setShipPromotionDiscount(shipPromotionDiscount);
		entity.setShipCity(shipCity);
		entity.setShipState(shipState);
		entity.setShipPostalCode(shipPostalCode);
		entity.setShipCountry(shipCountry);
		entity.setPromotionIds(promotionIds);
		entity.setIsBusinessOrder(isBusinessOrder);
		entity.setPurchaseOrderNumber(purchaseOrderNumber);
		entity.setPriceDesignation(priceDesignation);
		entity.setSignatureConfirmationRecommended(signatureConfirmationRecommended);
		entity.setIsIba(isIba);
		entity.setStatus(status);
		return entity;
	}
}